<!-- Navigasi bar -->
<section id="atas">
    <div class="row-fluid">
        <div class="span12">
            <div class="navbar">
                <div class="navbar-inner">
                    <ul class="nav">
                        <li class="
                        <?php
                        if ($this->uri->segment(2) == 'home') {
                            echo'active';
                        }
                        ?>">
                                <?php echo anchor('admin/home', '<i class=" icon-home"></i> Home') ?>
                        </li>
                        <li class="dropdown 
                        <?php
                        if ($this->uri->segment(2) == 'pengajuan' || $this->uri->segment(2) == 'daftar_judul') {
                            echo'active';
                        }
                        ?>">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Judul <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <?php echo anchor('admin/pengajuan', '<i class="icon-tag"></i> Daftar Pengajuan judul') ?>
                                </li>
                                <li>
                                    <?php echo anchor('admin/daftar_judul', '<i class="icon-tags"></i> Daftar Judul ACC') ?>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown 
                        <?php
                        if ($this->uri->segment(2) == 'jadwal_proposal' || $this->uri->segment(2) == 'jadwal_seminar' || $this->uri->segment(2) == 'detail_seminar' || $this->uri->segment(2) == 'detail_proposal' || $this->uri->segment(2) == 'proposal') {
                            echo'active';
                        }
                        ?>">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Jadwal <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <?php echo anchor('admin/jadwal_proposal', '<i class="icon-time"></i> Seminar Proposal') ?>
                                </li>
                                <li>
                                    <?php echo anchor('admin/jadwal_seminar', '<i class="icon-calendar"></i> Seminar Tesis') ?>
                                </li>
                                <li>
                                    <?php echo anchor('admin/jadwal_hasil', '<i class="icon-calendar"></i> Seminar Hasil') ?>
                                </li>
                            </ul>
                        </li>
                        <li class="<?php
                                    if ($this->uri->segment(2) == 'info') {
                                        echo'active';
                                    }
                                    ?>">
                                <?php echo anchor('admin/info', 'Info') ?>
                        </li>
                        <li class="<?php
                                    if ($this->uri->segment(2) == 'surat') {
                                        echo'active';
                                    }
                                    ?>">
                                <?php echo anchor('admin/surat', 'Surat') ?>
                        </li>
                        <li class="dropdown
                        <?php
                        if ($this->uri->segment(2) == 'mahasiswa' || $this->uri->segment(2) == 'dosen' || $this->uri->segment(2) == 'password' || $this->uri->segment(2) == 'proposal') {
                            echo'active';
                        }
                        ?>
                            ">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Account <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <?php echo anchor('admin/password', '<i class="icon-lock"></i> Change Password') ?>
                                </li>
                                <li class="divider"></li>
                                <li class="nav-header">User</li>
                                <li class="
                                <?php
                                if ($this->uri->segment(2) == 'dosen') {
                                    echo'active';
                                }
                                ?>">
                                        <?php echo anchor('admin/dosen', '<i class="icon-off"></i> Dosen') ?>
                                </li>
                                <li class="
                                <?php
                                if ($this->uri->segment(2) == 'mahasiswa') {
                                    echo'active';
                                }
                                ?>">
                                        <?php echo anchor('admin/mahasiswa', '<i class="icon-off"></i> Mahasiswa') ?>
                                </li>
                                <li class="divider"></li>
                                <li class="nav-header">Session</li>
                                <li>
                                    <?php echo anchor('main/logout', '<i class="icon-off"></i> Logout') ?>
                                </li>
                            </ul>
                        </li>
                    </ul>
                    <!--<ul class="nav pull-right"></ul>-->
                </div>
            </div>
        </div>
    </div>
</section>
<div class="row-fluid">